package com.spring.model;

import org.springframework.stereotype.Component;

/**
 * @author: sun.hongliang
 * @create: 2018/09/30 18:00
 */
@Component("testMyInject")
public class TestMyInject {
    private String name = "hhh";

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "TestMyInject{" +
                "name='" + name + '\'' +
                '}';
    }
}
